<div class="user-index">
    <div class="blocks">
        <a href="{:url('post/publish')}">发表文章</a>
        <a href="{:url('post/index')}">文章列表({$post_count})</a>
        <a href="{:url('category/index')}">分类列表({$category_count})</a>
    </div>
</div>